package com.lanou3g.k12.service;

import com.lanou3g.k12.entity.ArticleCategory;

import java.util.List;

public interface ArticleCategoryService {
    List<ArticleCategory> findByKeyword(Integer page, Integer size, String keyword);

    List<ArticleCategory> findAll(Integer page, Integer size);

    void deleteArticleCategoryByIds(Integer[] ids);

    void insertArticleCategory(String name, String remark, Integer status);

    ArticleCategory findArticleCategoryById(Long id);


    void updateArticleCategoryById(Long id, String name, String remark, Integer status);

    void deleteArticleCategoryById(Long id);

    List<ArticleCategory> findByKeywordForBackend(Integer page, Integer size, String keyword);

    List<ArticleCategory> findAllForBackend(Integer page, Integer size);

    ArticleCategory findByIdForBackend(Long id);
}
